package com.tc.zookeeper;

public interface ZKConstants {

	public static final String DEFAULT_CHARSET = "utf-8";
	public static final String COMMA = ",";
	public static final String DOT = ".";

	public static final int DEFAULT_SESSION_TIMEOUT_MS = 60 * 1000;
	public static final int DEFAULT_CONNECTION_TIMEOUT_MS = 3 * 1000;
	public static final int DEFAULT_RETRY_TIMES = 1;
	public static final int DEFAULT_SLEEPMS_BETWEENRETRY = 30;
	public static final String BOOTSTRAP = "bootstrap";
	public static final String DOMAINS_MAPPING = "domains_mapping";
	public static final String DEFAULT_DOMAIN = "defaultdomain";
	public static final String VIP_CFGCENTER_BOOTSTRAP_DEFAULT_MATCHER = "VIP_CFGCENTER_BOOTSTRAP_DEFAULT_MATCHER";

	public static final String VIP_CFGCENTER_ZK_CONNECTION = "VIP_CFGCENTER_ZK_CONNECTION";
	public static final String VIP_CFGCENTER_ZK_SESSION_IMEOUT_MS = "VIP_CFGCENTER_ZK_SESSION_IMEOUT_MS";
	public static final String VIP_CFGCENTER_ZK_CONNECTION_IMEOUT_MS = "VIP_CFGCENTER_ZK_CONNECTION_IMEOUT_MS";
	public static final String VIP_CFGCENTER_CONNECTION_MATCHER = "VIP_CFGCENTER_CONNECTION_MATCHER";
	public static final String VIP_CFGCENTER_ZK_SLEEPMSBETWEENRETRY = "VIP_CFGCENTER_ZK_SLEEPMSBETWEENRETRY";
	public static final String VIP_CFGCENTER_ZK_MAXRETRIES = "VIP_CFGCENTER_ZK_MAXRETRIES";
	public static final String VIP_CFGCENTER_ZK_USEWEIGHTSTRATEGY = "VIP_CFGCENTER_ZK_USEWEIGHTSTRATEGY";
	public static final String VIP_CFGCENTER_ZK_WEIGHT = "VIP_CFGCENTER_ZK_WEIGHT";
	public static final int VIP_CFGCENTER_ZK_DEFAULT_WEIGHT = 3;
	public static final String VIP_CFGCENTER_DOMAINS_DEFAULT_MATCHER = "VIP_CFGCENTER_DOMAINS_DEFAULT_MATCHER";
	
	public static final String VIP_CFGCENTER_PARTITION = "VIP_CFGCENTER_PARTITION";

	public static final String ZOOKEEPER_PARTITION_DEFAULT = "default";

	public final static String ZKCLIENT_WATCH_NODE_VERSION = "zkclient.watch.node.version";
	public final static String ZKCLIENT_WATCH_NODE_CONTENT = "zkclient.watch.node.content";
	public final static String ZKCLIENT_WATCH_NODE_CHILDREN = "zkclient.watch.node.children";
	public final static String KEY_ZK_PATH = "zkPath";
	public final static String KEY_CONTENT = "content";
	public final static String KEY_VERSION = "version";
	public final static String KEY_CONN_STR = "connectStr";
	public final static String KEY_CHILDREN = "children";

	public final static String TAG_ZK_PATH = "zkPath";

	public static final String ZKCONNECTION = "zkconnection";

}
